<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
</head>
<body>
    <div ng-app="">

        <div ng-controller="firstController">
            <input type="text" value="" ng-model="name"/>
            <input type="text" value="" ng-model="age"/>
            {{name}}
            {{age}}
        </div>
    </div>
    <script type="text/javascript" src="app/index.js"></script>
<script type="text/javascript" src="../../vendor/angular/angularjs.js"></script>
    <script>
        var fullname = "Trigkit4";
        var person = {
            fullname : 'Jack',
            prop:{
                fullname : 'Blizzard',
                getFullname : function () {
                    return this.fullname;
                }
            }
        };

        console.log(person.prop.getFullname());//Blizzard
        var test = person.prop.getFullname;
        console.log(test());//Trigkit4

        debugger;
        var aQuery = function(selector, context) {
            return  aQuery.prototype.init();
        }
        aQuery.prototype = {
            init: function() {
                this.age = 18
                return this;
            },
            name: function() {},
            age: 20
        }

        alert(aQuery().age);
    </script>
</body>
</html>